﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
namespace Vehicle.Common
{
    /// <summary>
    /// 网站配置管理类
    /// </summary>
    public static class WebConfig
    {
        public static string ConnectionString { get; private set; }

        public static string WebDAL { get; private set; }

        public static string WebBLL { get; private set; }

        public static string WebBLLShow { get; private set; }

        static WebConfig()
        {
            ConnectionString = TextHelper.Decrypt(ConfigurationSettings.AppSettings["VehicleSetting"].ToString());
            WebDAL = ConfigurationManager.AppSettings["WebDAL"];
            WebBLL = ConfigurationManager.AppSettings["WebBLL"];
            WebBLLShow = ConfigurationManager.AppSettings["WebBLLShow"];
        }

    }
}
